package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教学计划-课程-环节中间表
 * </p>
 *
 * @author quin.song
 * @since 2023-01-10
 */
@Data
@Accessors(chain = true)
@TableName("plan_teaching_course_segment")
@EqualsAndHashCode(of={"taskId","baseTeachingPlanId","baseCourseId","flag"})
@ApiModel(value = "PlanTeachingCourseSegment对象", description = "教学计划-课程-环节中间表")
public class PlanTeachingCourseSegment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer taskId;

    private String baseTeachingPlanId;

    private String baseCourseId;

    @ApiModelProperty("1课程  2环节")
    private Integer flag;

    @ApiModelProperty("选课类型 0无需选课 1在线选课;2:分级教学")
    private Integer teachingClassType;

    @ApiModelProperty("教学班数量")
    private Integer teachingClassNum;

    @ApiModelProperty("考核方式：11：笔试（开卷）、12：笔试（闭卷）、13：口试、14：考试（开卷+口试）、15：考试（闭卷+口试）、20：考查")
    private Integer assessment;

    @ApiModelProperty("备用")
    private String spare;
}
